﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="list.aspx.cs" Inherits="He.Web.manage.job.list" %>
<%@ Register Src="../_uc/head_list.ascx" TagPrefix="uc" TagName="head_list" %>
<%@ Register Src="../_uc/head.ascx" TagPrefix="uc" TagName="head" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>职位列表</title>
<uc:head runat="server" ID="uchead" />
<uc:head_list runat="server" ID="uchead_list" />
</head>
<body style="padding: 10px;">
<form id="form1" runat="server">
  <div class="navigation"> <span class="add"><a href="edit.aspx?lang=<%=lang %>">发布招聘岗位</a></span> <b>您当前的位置：首页
    &gt; 互动模块&gt;职位列表</b> </div>
  <div class="spClear"> </div>
  <div class="content-tab-wrap">
    <div class="content-tab">
      <div class="content-tab-ul-wrap">
        <ul>
          <li><a class="selected" href="javascript:;">职位列表</a></li>
          <li><a href="resume_list.aspx?lang=<%=lang %>">简历列表</a></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="content-body">
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td align="right"> 职位名称关健字： </td>
      <td width="150"><asp:TextBox ID="txtKeywords" runat="server" CssClass="keyword"></asp:TextBox>
      </td>
      <td width="60" align="center"><asp:Button ID="btnSelect" runat="server" Text="查询" CssClass="submit" OnClick="btnSelect_Click" />
      </td>
    </tr>
  </table>
  <div class="spClear"> </div>
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
    <asp:Repeater ID="rptList" runat="server">
      <HeaderTemplate>
        <tr>
          <th> 选择 </th>
          <th> 编号 </th>
          <th> 职位名称 </th>
          <th> 需求人数 </th>
          <th> 工作地点 </th>
          <th> 发布日期 </th>
          <th> 排序 </th>
          <th> 操作 </th>
        </tr>
      </HeaderTemplate>
      <ItemTemplate>
        <tr>
          <td><asp:CheckBox ID="Check" CssClass="checkall" runat="server"></asp:CheckBox>
            <asp:HiddenField
                            ID="HiddenId" Value='<%#Eval("id") %>' runat="server" />
          </td>
          <td><asp:Label ID="lb_id" runat="server" Text='<%#Eval("id")%>'></asp:Label>
          </td>
          <td><a href='edit.aspx?id=<%#Eval("id") %>&lang=<%=lang %>&action=<%=He.Web.UI.Enums.ActionEnum.Edit %>'> <%#Eval("title") %></a> </td>
          <td><%#Eval("vacancies") %> </td>
          <td><%#Eval("location")%> </td>
          <td><%#string.Format("{0:yyyy-MM-dd}",Eval("add_time")) %> </td>
          <td><asp:TextBox ID="txtSortId" runat="server" Text='<%#Eval("sort_id")%>' CssClass="txtInput2 small2"
                            onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)));" />
          </td>
          <td><a href='edit.aspx?id=<%#Eval("id") %>&lang=<%=lang %>&action=<%=He.Web.UI.Enums.ActionEnum.Edit %>'> 修改</a> </td>
        </tr>
      </ItemTemplate>
    </asp:Repeater>
  </table>
  </div>
  <div class="spClear"> </div>
  <div style="line-height: 30px; height: 30px;"> <%=He.Web.UI.HtmlHelper.PagerText(pcount, pageSize, page, "?"+CombUrlTxt(this.keywords) +"page=__id__&lang="+lang)%>
    <div class="left"> <span class="btn_all" onclick="CheckAll(this)">全 选</span> <span class="btn_bg">
      <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click" OnClientClick="return confirm( '确定要删除这些记录吗？ ');">删除</asp:LinkButton>
      </span> <span class="btn_bg">
      <asp:LinkButton ID="lbtnSave" runat="server" OnClick="lbtnSave_Click">保存排序</asp:LinkButton>
      </span> </div>
  </div>
</form>
</body>
</html>
